using SqlSugar;
using System;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{

    public class LCZXRZXQGLDetail : BaseLine
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime AddTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 姓名
        /// </summary>
        public string StudentName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string ContractDetail { get; set; }

        /// <summary>
        /// 身份证号码
        /// </summary>
        public string IdCardNumber { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public string Birthday { get; set; }

        /// <summary>
        /// 省市区
        /// </summary>
        public string AreaString { get; set; }

        /// <summary>
        /// 证书类型
        /// </summary>
        public string CertificateType { get; set; }

        /// <summary>
        /// 证书名称
        /// </summary>
        public string CertificateName { get; set; }

        /// <summary>
        /// 证书效果
        /// </summary>
        public string CertificateEffect { get; set; }

        /// <summary>
        /// 证书编号，无法导入，只能通过系统生成
        /// </summary>
        public string CertificateNumber { get; set; }

        /// <summary>
        /// 证书有效期
        /// </summary>
        public DateTime? CertificateDate { get; set; }

        /// <summary>
        /// 专卖店授权号
        /// </summary>
        public string SpecialtyStoreAuthorizationNumber { get; set; }

        /// <summary>
        /// 专卖店地址
        /// </summary>
        public string SpecialtyStoreAuthorizationAddress { get; set; }

        /// <summary>
        /// 专卖店电话
        /// </summary>
        public string SpecialtyStoreAuthorizationPhone { get; set; }

        /// <summary>
        /// 从业开始时间 只有年份（4位）
        /// </summary>
        public string CareerStartTime { get; set; }

        /// <summary>
        /// 理论成绩
        /// </summary>
        public decimal? TheoreticalScore { get; set; }

        /// <summary>
        /// 实操成绩
        /// </summary>
        public decimal? PracticalScore { get; set; }

        /// <summary>
        /// 颁发单位
        /// </summary>
        public string IssuingUnit { get; set; }

        /// <summary>
        /// 工种
        /// </summary>
        public string TypeOfWork { get; set; }

        /// <summary>
        /// 能力标签
        /// </summary>
        public string CapabilityLabel { get; set; }

        /// <summary>
        /// 立邦认证
        /// </summary>
        public string NipponCertification { get; set; }

        /// <summary>
        /// 资质名称
        /// </summary>
        public string NationalOrIndustryCertification { get; set; }

        /// <summary>
        /// 证书配置表Id
        /// </summary>
        public string ConfigId { get; set; }

        /// <summary>
        /// 是否是国家认证
        /// </summary>
        public bool IsNation { get; set; } = false;

        /// <summary>
        /// 资格等级
        /// </summary>
        public string Grade { get; set; }

        /// <summary>
        /// 部门(TUC/TUB/刷新)
        /// </summary>
        public string Dept { get; set; }

        /// <summary>
        /// 是否生成证书 默认生成
        /// </summary>
        public bool IsGenerateNumber { get; set; } = true;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 新增用户Id
        /// </summary>
        public string AddUserId { get; set; }

        /// <summary>
        /// 更新用户Id
        /// </summary>
        public string UpdateUserId { get; set; }

        /// <summary>
        /// 有效期，单位年，没有就是长期
        /// </summary>
        public decimal? Period { get; set; }

        /// <summary>
        /// 所在区域公司
        /// </summary>
        public string RegionCompany { get; set; }

        /// <summary>
        /// 所在销售大区
        /// </summary>
        public string RegionArea { get; set; }

        /// <summary>
        /// 是否给官网显示
        /// </summary>
        public bool IsPublic { get; set; }


        [SugarColumn(IsIgnore = true)]
        public string Url { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string Province { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string City { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string Area { get; set; }
    }
}